package com.yilin.platform.service.user;

import com.yilin.platform.base_core.application.PageData;
import com.yilin.platform.entity.user.Account;
import com.yilin.platform.entity.user.Cooperate;

public interface ICooperateervice {
    //申请合作
    void   applyCooperate(Account account, Cooperate cooperate);

    //是否同意
    void   agreeCooperate(Account account, Cooperate cooperate);

    Cooperate   getCooperateById(String id);

    Cooperate   getCooperateByCompanyId(String organizeId,String companyId);

    void deleteCooperateById(String id);

    PageData<Cooperate> getCooperatePage(String organizeId, Cooperate query, Integer page, Integer limit);
}
